#ifndef CLEARCELLSCOMMAND_H
#define CLEARCELLSCOMMAND_H

#include <QUndoCommand>
#include "FrakOutDataItem.h"
class FrakOutController;

class ClearCellsCommand : public QUndoCommand
{
public:
    ClearCellsCommand(const QString& text,
                      FrakOutController& controller,
                      const FrakOutDataItem& sheet,
                      int sheetIndex);
    virtual void redo();
    virtual void undo();

private:
    FrakOutController& m_controller;
    FrakOutDataItem m_sheet;
    int m_sheetIndex;
};

#endif // CLEARCELLSCOMMAND_H
